<template>
<div class="section_nav">
<el-row>
    <span class="tag_tit">区域</span>
<el-button type="success">全部</el-button>
<div v-for="(item,index) in Country" :key="index" class="singer_tag_list">
<el-link :underline="false">{{ item }}</el-link>
</div>
</el-row>
<el-row>
    <span  class="tag_tit">版本</span>
<el-button type="success">全部</el-button>
<div v-for="(item,index) in Version" :key="index" class="singer_tag_list">
<el-link :underline="false">{{ item }}</el-link>
</div>
</el-row>

<div class="infinite-list" v-infinite-scroll="load"  infinite-scroll-distance="1" infinite-scroll-immediate="true" style="overflow: auto;" >
    <ItemCard  :PathFolder="PathFolder" :Nums="Shownums" :need="true" :LoadMore="LoadMore"></ItemCard>
 </div>
 <el-backtop target=".infinite-list" :visibility-height="20"></el-backtop>

 </div>
</template>
<script>
import ItemCard from '../ItemCard.vue';

const PathFolder = require.context('@/assets/XinDiePage', false, /\.(png|jpg|jpeg|gif|webp)$/);//读取图片,返回一个函数
    export default{
    name: 'MVPage',
    data() {
        return {
            Country: ['内地', '港台', '欧美', '日本', '韩国'],
            Version: ['mv', '现场', '翻唱', '舞蹈', '影视', '综艺', '儿歌'],
            LoadMore:0,
            Shownums:106,
            PathFolder
        };
    },
    components: {
        ItemCard
    },
    methods: {
        load() {
            this.LoadMore += 15;
        },
    }
  
}

</script>
<style scoped>
.tag_tit{
   display: inline-block;
  font-weight: 400;
  width: 65px;
}
.section_inner{
    width: 1250px;
    margin: 0 auto;
}
.el-card__body{
    padding: 0px !important;
    width: 230px;
    height: 230px;
}
.playlist_other{
    text-decoration: none;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
    font-size:14px;
}
.playlist_author a{
    text-decoration: none;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
    font-size:14px;
}
.playlist_tit span a{
    text-decoration: none;
    font-size: 14px;
}
.playlist_tit{
    margin: 0;
    padding: 0;
}
.playlist_cover{
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}
.playlist_item_box{
    width: 230px;
    margin-right: 20px;
}
.infinite-list-item{
    border: none;
    width: 20%;
    min-width: 230px;
    padding-bottom: 44px;
    overflow: hidden;
    font-size: 14px;
    vertical-align: top;
    display: inline-block;
    white-space: nowrap;
}
.infinite-list{
    padding:0;
    width: 100%;
    height: 1007.58px;
   scrollbar-width: none;
    overflow: hidden;
}
.tag_item{
    
    cursor: pointer;
    /* float:left; */
    padding:0 8px;
    margin:0 24px 15px 0;
    text-decoration:none;
}
 .tag_list_p{
    width: 1200px;
    position:relative;
    margin:0 auto;
 }
 .tag_list_c{
    position:relative;
    height:auto;
    clear:both;
    overflow:hidden;
    line-height:26px;
    padding-left:65px;
 }
 .album_list{

    /* width:1200px;
    min-width:900px; */
    height: 1007.58px;
    margin:0 auto;
    padding:35px 0 0;
    position: relative;
 }
/*fengexian*/
.singer_tag_list{
        margin: 0 12px 14px 0;
        display:inline-block;
    }
    .el-button{
        background-color:#31c27c;
        margin-right:20px;
        margin-bottom:10px;
    }
    .el-link{
        font-family: poppin,Tahoma,Arial,微软雅黑,sans-serif;
        margin-right:20px;
        line-height:1.5;
        font-size:14px
    }
    .el-link:hover{
        color:#31c27c;
    }
    .section_nav{
        background-color: #fbfbfd;
        margin-top: 100px;
        max-width:1200px;
        margin-left:auto;
        margin-right: auto;
        margin-top: 60px;
    }
</style>